/*

* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Smart-Shop开源商城系统/ Java商城-首选电商平台系统 请务必保留此注释头信息
* |     开源地址: https://gitee.com/ningbo-qishan/gruul-mall
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     可正常分享和学习源码,未经授权 不可商用！
* |     商业版中台购买/开源版商业授权 联系技术客服
* |     官网:  https://www.73app.cn/
* ------------------------------------------------------------------------
* ------------------------------------------------------------------------
* |     Copyright (c) 2016-2999 宁波启山智软科技有限公司
* |     版权所有 ,侵权必究！
* ------------------------------------------------------------------------

*/
package com.medusa.gruul.datasets.api.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.medusa.gruul.common.data.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商家同步索引表
 * </p>
 *
 * @author xiaoq
 * @since 2020-05-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t__dc_shop_sync_index")
@ApiModel(value="DcShopSyncIndex对象", description="商家同步索引表")
public class DcShopSyncIndex extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商家同步索引表 id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "商铺id 用于区分城市合伙人")
    @TableField("shop_id")
    private String shopId;

    @ApiModelProperty(value = "	")
    @TableField("sync_id")
    private String syncId;

    @ApiModelProperty(value = "同步ts")
    @TableField("sync_ts")
    private Long syncTs;

    @ApiModelProperty(value = "	")
    @TableField("app_route")
    private String appRoute;

    @ApiModelProperty(value = " 1 会员行为同步 2 商家消息通知")
    @TableField("type")
    private Integer type;


}
